-- GENERATED SPELL FOR [Gogger Rock Keeper] --


function spell0_11915(pUnit, Event) --@Earth Shock,n/a--
pUnit:FullCastSpellOnTarget(13281,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11915', 2316, 1)
end

function Sorts_11915(pUnit, Event)
local choix_sorts_11915 = math.random(0, 0)
if choix_sorts_11915 == 0 then
pUnit:RegisterEvent('spell0_11915', 1, 1)
end
end

function mob11915_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11915', math.random(1500, 3000), 1)
end

function mob11915_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11915_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11915_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11915, 1, 'mob11915_Action')
RegisterUnitEvent(11915, 2, 'mob11915_Leave')
RegisterUnitEvent(11915, 3, 'mob11915_Kill')
RegisterUnitEvent(11915, 4, 'mob11915_Die')
